package gemini.pollux.batch.qualify;

import gemini.basic.batch.GmnJob;
import gemini.basic.manager.DistributorManager;

import org.quartz.JobExecutionContext;

public class QualifyJob extends GmnJob{
	
	private DistributorManager distributorManager;
	
	public void setDistributorManager(DistributorManager distributorManager) {
		this.distributorManager = distributorManager;
	}

	@Override
	protected boolean executeImpl(JobExecutionContext context) {
		distributorManager.updateLevel();
		return true;
	}

	@Override
	protected String getBatchName() {
		return "Qualify";
	}
}
